<template>
    <div >
        <div class="ads-item">
            <span class="iconfont icon-shanchu ads-delete"></span>
            <span class="ads-img"></span>
            <span class="ads-text">[666元]新人大礼包正在派发</span>
            <btn class="ads-btn">前往APP领取</btn> 
        </div>
    </div>
</template>
<script>
import Btn from '../common/BaseBtn.vue'

export default {
    name:'Ads',
    components: {
        Btn
    }
}
</script>
<style lang="scss">
@import '../../font/iconfont.css';
$base: 50;
.ads-item {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    color: rgba(230, 230, 230, 0.8);
    line-height: 100rem / $base;
    height: 100rem / $base;
    background-color: #4C4C4C;
    font-size: 26rem / $base;
    z-index: 100;
    .ads-delete{
        margin-left: 10px;
        font-size: 30rem / $base;
        &:hover{
            cursor: pointer;
        }
    }
    .ads-img {
        position: absolute;
        top: 20rem /$base;
        left: 70rem / $base;
        display: inline-block;
        width: 60rem /$base;
        height: 60rem /$base;
        background: url('../../img/mi-icon.png');
        background-size: contain;
    }
    .ads-text {
        position: absolute;
        left: 150rem / $base;
        text-align: center;
        letter-spacing: 2rem / $base;
        
    }
    .ads-btn{
        float: right;
        margin-top: 16rem /$base;
        margin-right: 10px;
        line-height: 1;
    }

}
</style>